# Contributor: fossdd <fossdd@pwned.life>
# Maintainer: fossdd <fossdd@pwned.life>
pkgname=passes
pkgver=0.10
pkgrel=0
pkgdesc="Manage your digital passes"
url="https://github.com/pablo-s/passes"
arch="all"
license="GPL-3.0-or-later"
depends="
	libadwaita
	py3-gobject3
	zint
	"
makedepends="
	appstream-glib
	blueprint-compiler
	desktop-file-utils
	meson
	zint-dev
	"
subpackages="$pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/pablo-s/passes/archive/refs/tags/v$pkgver.tar.gz"

build() {
	abuild-meson . output
	meson compile -C output
}

check() {
	meson test --print-errorlogs --no-rebuild -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
888a557d6afd3d85c7f923c097de312f036eb662e7b16545a37b5791533e0279117ae9ae4c78df326aeb651b1409f16f6a2ab785cb159ddb222cc9c6abe8210f  passes-0.10.tar.gz
"
